﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Add.ascx.cs" Inherits="eCommerce.CMS.CustomAdmin.Controls.Pages.Add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Panel ID="userformPanelAdd" runat="server">
	<asp:UpdatePanel ChildrenAsTriggers="true" ID="UpdatePanel1" runat="server" UpdateMode="Always">
		<ContentTemplate>
			<ul class="userform">
				<%--<li>
					<asp:Label ID="Label1" runat="server" Text="ID" />
					<asp:TextBox Enabled="false" ID="tbxID" runat="server" />
				</li>--%>
				<li>
                    <asp:Label ID="Label4" runat="server" Text="Title" />
                    <asp:TextBox ID="tbxTitle" runat="server" />
				</li>
				<%--<li>
					<asp:Label ID="Label5" runat="server" Text="Navigation (title)" />
					<asp:TextBox ID="tbxNavi" runat="server" />
				</li>--%>
				<li>
					<asp:Label ID="Label2" runat="server" Text="Parent (subpage)" />
					<asp:DropDownList ID="ddlParent" runat="server">
                      </asp:DropDownList>
				</li>
			
				<li>
					<asp:Label ID="Label6" runat="server" Text="Text" />
					<%--<asp:TextBox ID="TextBox1" runat="server" />--%>
					<%--<FCKeditorV2:FCKeditor ID="FCKText" EnableSourceXHTML="true" runat="server" BasePath="fckeditor/" ToolbarSet="Custom">
					</FCKeditorV2:FCKeditor>--%>
                    <FCKeditorV2:FCKeditor ID="FCKText" EnableSourceXHTML="true" BasePath="fckeditor/" ToolbarSet="Basic" runat="server">
                    </FCKeditorV2:FCKeditor>
				</li>
				<li>
					<asp:LinkButton ID="lnkbtnDev" runat="server" onclick="lnkbtnDev_Click">Page Development Details</asp:LinkButton>
					
				</li>
				<asp:Panel ID="pnlDevelop" Visible="false" runat="server">
				<li>
				<asp:LinkButton ID="lnkbtnhidedev" runat="server" onclick="lnkbtnUnDev_Click">Hide Details</asp:LinkButton>
				</li>
				<li>
					<asp:Label ID="Label5" runat="server" Text="Navigation (title)" />
					<asp:TextBox ID="tbxNavi" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label3" runat="server" Text="Marker" />
					<asp:TextBox ID="tbxMarker" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label7" runat="server" Text="Meta Keywords" />
					<asp:TextBox ID="tbxMetaKey" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label8" runat="server" Text="Meta Description" />
					<asp:TextBox ID="tbxMetaDesc" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label9" runat="server" Text="Special Url" />
					<asp:TextBox ID="tbxSpecial" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label10" runat="server" Text="External Link" />
					<asp:DropDownList ID="ddlExternal" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label12" runat="server" Text="Position" />
					<asp:TextBox ID="tbxPosition" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label13" runat="server" Text="Use Content" />
					<asp:DropDownList ID="ddlUseCont" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label14" runat="server" Text="Suppress Navigation" />
					<asp:DropDownList ID="ddlSuppressNavi" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label15" runat="server" Text="Suppress HotText" />
					<asp:DropDownList ID="ddlSuppressHotT" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label16" runat="server" Text="Use Collection" />
					<asp:TextBox ID="tbxUseColl" runat="server" />
				</li>
				<li>
					<asp:Label ID="Label17" runat="server" Text="Secured" />
					<asp:DropDownList ID="ddlSecured" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label18" runat="server" Text="New Window" />
					<asp:DropDownList ID="ddlNewWind" runat="server">
					<asp:ListItem Value="True" Text="True"></asp:ListItem>
					<asp:ListItem Value="False" Text="False"></asp:ListItem>
					</asp:DropDownList>
				</li>
				<li>
					<asp:Label ID="Label19" runat="server" Text="Updated Date" />
					<asp:TextBox ID="UpdateDateTbx" runat="server" />
					<cc1:CalendarExtender ID="CalendarExtender1" Format="dd/MM/yyyy" TargetControlID="UpdateDateTbx" runat="server">
					</cc1:CalendarExtender>
				</li>
				</asp:Panel>
				<li>
					<asp:Label ID="lblTest" runat="server" Text="&nbsp;"></asp:Label>
				</li>
				
				<li>
					<asp:Button ID="AddBtn" Text="Add Page" CausesValidation="true" OnClick="AddBtn_Click" runat="server" CssClass="btn" />
				</li>
			</ul>
		</ContentTemplate>
		<Triggers>
			<asp:AsyncPostBackTrigger ControlID="AddBtn" />
			<asp:AsyncPostBackTrigger ControlID="lnkbtnDev" />
			<asp:AsyncPostBackTrigger ControlID="lnkbtnhidedev" />
		</Triggers>
		
	</asp:UpdatePanel>
</asp:Panel>
